package com.moyu.myadmin.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author jiaomingyu5778@gmail.com
 * @date 2022/4/24 17:08
 */

@Data
public class CompleteTaskVO {

    @ApiModelProperty("任务id")
    @NotEmpty(message = "任务id不能为空")
    private String taskId;

    @ApiModelProperty("审批意见")
    private String comment;

    @ApiModelProperty("流程实例id")
    @NotEmpty(message = "流程实例id不能为空")
    private String processInstanceId;

    @ApiModelProperty("任务参数")
    private Map<String, Object> variables;
}
